//
//  DSEAV.h
//  qqqqqq
//
//  Created by iOSer on 2017/3/16.
//  Copyright © 2017年 iOSer. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger,CommodityPriceType){
    defaultPrice = 0,
    lowPrice,
    HiPrice
};
@interface LECommodity : NSObject<NSCoding>
@property(nonatomic,copy) NSString *name;
@property(nonatomic,copy) NSString *lowText;
@property(nonatomic,copy) NSString *highliText;
@property(nonatomic,copy) NSArray *defaultPrice;
@property(nonatomic,copy) NSArray *lowPrice;
@property(nonatomic,copy) NSArray *highliPrice;
@property(nonatomic,assign) long nowPrice;
@property(nonatomic,assign) CommodityPriceType priceType;
@property(nonatomic,assign) double Probability;
@property(nonatomic,assign) BOOL isRefresh;


-(instancetype)initWithName:(NSString *)name lowText:(NSString *)lowText highliText:(NSString *)highliText defaultPrice:(NSArray *)defaultPrice lowPrice:(NSArray *)lowPrice highliPrice:(NSArray *)highliPrice Probability:(double)Probability;
@end
